package zuoye7_1;

public class ZuoYe7_J {
	volatile int j =1 ;
	
	public ZuoYe7_J(int j) {		
		this.j = j;
	}
	public ZuoYe7_J() {		
		
	}	
	
	public int getJ() {
		return j;
	}

	public void setJ(int n) {
		this.j = j;
	}
	public void add(int j2) {
		this.j = j+1;
		
	}
	public void sub(int j2) {
		this.j = j-1;
	}
}
